package cn.zt.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 贷款产品详细表
 * @TableName t_loan_details
 */
@TableName(value ="t_loan_details")
@Data
public class TLoanDetails implements Serializable {
    /**
     * 主键，自动增长，线索ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 贷款产品名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 详细
     */
    @TableField(value = "details")
    private String details;

    /**
     * 期限
     */
    @TableField(value = "deadline")
    private String deadline;

    /**
     * 贷款计算规则
     */
    @TableField(value = "rules")
    private String rules;

    /**
     * 删除标识  0 可用 1不可用
     */
    @TableField(value = "is_delete")
    private Integer isDelete;

    /**
     * 排序
     */
    @TableField(value = "order_num")
    private Integer orderNum;

    /**
     * 状态 0在售 1售罄
     */
    @TableField(value = "state")
    private Integer state;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    private Integer createBy;

    /**
     * 编辑时间
     */
    @TableField(value = "edit_time")
    private Date editTime;

    /**
     * 编辑人
     */
    @TableField(value = "edit_by")
    private Integer editBy;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}